FROM openjdk:17
LABEL authors="wkddc"
VOLUME /tmp
ADD target/springboot-demo-2.6.2.jar /springboot-demo.jar

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/springboot-demo.jar"]